/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wargame.entity;

/**
 *
 * @author Clarence
 */
public class Notification {

    private int notification_id;
    private int player_id;
    private String message;
    private int turn;
    private int unread = 1;

    public Notification() {
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getNotification_id() {
        return notification_id;
    }

    public void setNotification_id(int notification_id) {
        this.notification_id = notification_id;
    }

    public int getPlayer_id() {
        return player_id;
    }

    public void setPlayer_id(int player_id) {
        this.player_id = player_id;
    }

    public int getTurn() {
        return turn;
    }

    public void setTurn(int turn) {
        this.turn = turn;
    }

    public int getUnread() {
        return unread;
    }

    public void setUnread(int unread) {
        this.unread = unread;
    }

    public String toString() {
        String sep = System.getProperty("line.separator");
        StringBuffer buffer = new StringBuffer();
        buffer.append(sep);
        buffer.append("notification_id = ");
        buffer.append(notification_id);
        buffer.append(sep);
        buffer.append("player_id = ");
        buffer.append(player_id);
        buffer.append(sep);
        buffer.append("message = ");
        buffer.append(message);
        buffer.append(sep);
        buffer.append("turn = ");
        buffer.append(turn);
        buffer.append(sep);
        buffer.append("unread = ");
        buffer.append(unread);
        buffer.append(sep);
        return buffer.toString();
    }
}
